package com.flyco.modules.oms.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 禁止下单区域表
 * @Author: flyco
 * @Date:   2021-01-14
 * @Version: V1.0
 */
@Data
@TableName("oms_order_black_area")
@ApiModel(value="oms_order_black对象", description="禁止下单表")
public class OmsOrderBlackArea implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**禁止下单id*/
    @ApiModelProperty(value = "禁止下单id")
	private Long blackId;
	/**省份/直辖市*/
    @Excel(name = "省份/直辖市", width = 15)
    @ApiModelProperty(value = "省份/直辖市")
	private String province;
	/**城市*/
    @Excel(name = "城市", width = 15)
    @ApiModelProperty(value = "城市")
	private String city;
	/**区*/
    @Excel(name = "区", width = 15)
    @ApiModelProperty(value = "区")
	private String area;
	/**省份编号*/
    @Excel(name = "省份编号", width = 15)
    @ApiModelProperty(value = "省份编号")
	private String provinceCode;
	/**城市编号*/
    @Excel(name = "城市编号", width = 15)
    @ApiModelProperty(value = "城市编号")
	private String cityCode;
	/**区编号*/
    @Excel(name = "区编号", width = 15)
    @ApiModelProperty(value = "区编号")
	private String areaCode;
	/**1:省, 2:市, 3:区*/
    @Excel(name = "1:省, 2:市, 3:区", width = 15)
    @ApiModelProperty(value = "1:省, 2:市, 3:区")
	private Integer level;
	/**创建人*/
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新人*/
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
}
